<!-- See http://developer.yahoo.com/ypatterns/pattern.php?pattern=searchpagination-->
<style type="text/css">
#plist li{ float:left}



</style>
<?php
if ($this->pageCount) {
	?>

<div class="paginationControl">
<ul id="plist">
	<!-- Previous page link -->
    <?php
	if (isset ( $this->previous )) {
		?>
      <li><a
		href="<?=$this->url ( array ('page' => $this->previous ) );?>"><span>&lt;
previous</span></a></li>
      <?php
	}
	?>
    <!-- Numbered page links -->
    <?php
	foreach ( $this->pagesInRange as $page ) :
		?>
    <?php
		if ($page != $this->current) {
			?>
    <li><a href="<?=$this->url ( array ('page' => $page ) );?>"><span>
      <?=$page;?>
      </span></a></li>
    <?php
		} else {
			?>
    <li><span>
      <?=$page;?>
      </span></li>
    <?php
		}
		?>
    <?php
	endforeach;
	?>
    <!-- Next page link -->
    <?php
	if (isset ( $this->next )) {
		?>
    <li><a href="<?=$this->url ( array ('page' => $this->next ) );?>"><span>next
	&gt;</span></a></li>
    <?php
	}
	?>
  </ul>
</div>
<?php
}
?>
